package com.wanmei.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class UITreeView implements Serializable {
    //id分类ID
    private Integer cid;
    //pid
    private Integer parentId;
    //text nodes节点显示的文本信息
    private String text;
    //nodes 当前节点的子节点
    private List<UITreeView> nodes= new ArrayList<>(0);

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public List<UITreeView> getNodes() {
        return nodes;
    }

    public void setNodes(List<UITreeView> nodes) {
        this.nodes = nodes;
    }

    @Override
    public String toString() {
        return "UITreeView{" +
                "cid=" + cid +
                ", parentId=" + parentId +
                ", text='" + text + '\'' +
                ", nodes=" + nodes +
                '}';
    }
}
